﻿DELETE FROM LogEntries WHERE Datediff(day,Created,GETDATE()) > 7 